package com.wdt.shirojwt.controller;

import com.wdt.shirojwt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController extends BaseController {

    @Autowired
    private UserService userService;
    @PostMapping("/login")
    public String userLogin(@RequestParam(value = "name") String name,@RequestParam(value = "password") String password){


        return "2";
    }

}
